package com.multiplayer.entity; 

import java.util.Date;

/**
 * 公告实体类对应announcement表
 * @author zhangwenhao 0.0.1
 * @author liutiehui 0.0.2 2020-5-8 23:10
 */
public class Announcement {
	//公告号
	private String tid;
	//管理员编号
	private String ano;
	//公告发布时间
	private Date tdate;
	//公告内容
	private String tinfo; 
	//公告状态
	private String tstatus;
	//管理员
	private Admin admin;
	
	
	public Announcement() {
		
	}
	
	
	@Override
	public String toString() {
		return "Announcement [tid=" + tid + ", ano=" + ano + ", tdate=" + tdate + ", tinfo=" + tinfo + ", tstatus="
				+ tstatus + ", admin=" + admin + "]";
	}


	public Announcement(String tid, String ano, Date tdate, String tinfo, String tstatus, Admin admin) {
		super();
		this.tid = tid;
		this.ano = ano;
		this.tdate = tdate;
		this.tinfo = tinfo;
		this.tstatus = tstatus;
		this.admin = admin;
	}
	public String getTid() {
		return tid;
	}
	public void setTid(String tid) {
		this.tid = tid;
	}
	public String getAno() {
		return ano;
	}
	public void setAno(String ano) {
		this.ano = ano;
	}
	public Date getTdate() {
		return tdate;
	}
	public void setTdate(Date tdate) {
		this.tdate = tdate;
	}
	public String getTinfo() {
		return tinfo;
	}
	public void setTinfo(String tinfo) {
		this.tinfo = tinfo;
	}
	public String getTstatus() {
		return tstatus;
	}
	public void setTstatus(String tstatus) {
		this.tstatus = tstatus;
	}
	public Admin getAdmin() {
		return admin;
	}
	public void setAdmin(Admin admin) {
		this.admin = admin;
	}
	

	
	
	
}
